package edu.sctu.zhoumengxue.day201505.day20150520.mySelf;

/**
 * Created by user12 on 2015/5/20.
 */
public class TextTwo {

    protected int xy = 0;
    public int i;

    public TextTwo() {
        this(100, "kk");
        System.out.println("构造函数");
        i = 0;
        xy = 10;

    }

    public TextTwo(TextFive ssss) {
        int s = ssss.number;

    }

    public TextTwo(int number, String string) {
        System.out.println("带参数的构造函数" + number + ":" + string);

    }

    public TextTwo(int number, boolean bool) {
        System.out.println("带参数的构造函数" + number + ":" + bool);

    }

    public TextTwo(int number, int[] array) {
        System.out.println("带参数的构造函数" + number);

    }

    public void getFor() {
        System.out.println("for循环" + i);


    }

    public void getFor(int nuumber) {
        System.out.println("for循环" + nuumber + i);

    }

    public void getFor(int nuumber, String string) {
        System.out.println("for循环" + string + i);

    }

    public void getFor(int nuumber, int[] array) {
        System.out.println("for循环" + array);

    }


}
